package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenNeedTypeDao;
import com.ruoyi.project.men.domain.MenNeedTypeDO;
import com.ruoyi.project.men.service.MenNeedTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenNeedTypeServiceImpl implements MenNeedTypeService {
	@Autowired
	private MenNeedTypeDao menNeedTypeDao;
	
	@Override
	public MenNeedTypeDO get(String id){
		return menNeedTypeDao.get(id);
	}
	
	@Override
	public List<MenNeedTypeDO> list(Map<String, Object> map){
		return menNeedTypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menNeedTypeDao.count(map);
	}
	
	@Override
	public int save(MenNeedTypeDO menNeedType){
		return menNeedTypeDao.save(menNeedType);
	}
	
	@Override
	public int update(MenNeedTypeDO menNeedType){
		return menNeedTypeDao.update(menNeedType);
	}
	
	@Override
	public int remove(String id){
		return menNeedTypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menNeedTypeDao.batchRemove(ids);
	}

    @Override
    public List<MenNeedTypeDO> likeList(Map<String, Object> map){
        return menNeedTypeDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menNeedTypeDao.likeListCount(map);
    }
	
}
